/*
 * @Description: 页面配置加载
 * @Author: huacong
 * @Date: 2020-11-02 15:12:27
 * @LastEditTime: 2020-12-02 17:55:40
 * @LastEditors: huacong
 */
import 'core-js/stable'
import 'regenerator-runtime/runtime'

import Vue from 'vue'
import Viser from 'viser-vue'
import VueStorage from 'vue-ls'
import Modal from '@/components/Modal'
import config from '@/config/defaultSetting'

import { dictMixin } from './mixins'

import './elementUse'
import './filters'

import './directives/fullscreen'
import './directives/ref'
import './directives/dialogDrag'
import './directives/flexLayout'

// 设置语言
import lang from 'element-ui/lib/locale/lang/zh-CN'
import locale from 'element-ui/lib/locale'
// 引入elementui主题样式文件
import '../../theme/index.css'

import '@/config/common.scss'
import '@/config/elReset.scss'

locale.use(lang)

window.pending = []

Vue.use(Modal)
Vue.use(Viser)
Vue.use(VueStorage, config.storageOptions)
Vue.mixin(dictMixin)
Vue.config.productionTip = false
